package com.glsc.ngateway.common.base.domain.mysql.gateway.platform.easyflow;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "t_flow_form_remind_main")
@org.hibernate.annotations.Table(appliesTo = "t_flow_form_remind_main", comment = "提醒流程表单")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public class FlowFormRemindMain extends BaseFlowForm {

    private static final long serialVersionUID = -7042838137754037605L;

    /**
     * 【重要】processId是业务主键
     */
    @ApiModelProperty(value = "流程实例ID，业务主键")
    @Id
    @Column(name = "process_id", columnDefinition = "varchar(50) COMMENT '流程唯一编码'")
    private String processId;

    @ApiModelProperty(value = "申请日期")
    @Column(name = "application_date", columnDefinition = "varchar(10) COMMENT '申请日期'")
    private String applicationDate;

    @ApiModelProperty(value = "提醒内容")
    @Column(name = "remind_content", columnDefinition = "text COMMENT '提醒内容'")
    private String remindContent;

    @ApiModelProperty(value = "提醒人账号，多个英文逗号分隔")
    @Column(name = "remind_user_account", columnDefinition = "varchar(20) COMMENT '提醒人账号，多个英文逗号分隔'")
    private String remindUserAccount;

    @ApiModelProperty(value = "提醒人姓名")
    @Column(name = "remind_user_name", columnDefinition = "varchar(20) COMMENT '提醒人姓名'")
    private String remindUserName;
}